package com.gome.ocean.dao.datax;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import com.gome.ocean.dao.model.datasource.ExportBean;

/**
 * @author zhangguoqing 2016年12月28日 下午2:37:32
 * @since 5.0.0
 */
@Repository("iExportDao")
public interface IExportDAO {

    public void insert(ExportBean bean);

    public void update(ExportBean bean);

    public void delete(Long id);

    public ExportBean getBeanByMap(Map<String, Object> map);

    public List<ExportBean> getBeanListsByMap(Map<String, Object> map, RowBounds bounds);

    public List<ExportBean> getBeanListsByProject(@Param("projects") List<String> projects, RowBounds bounds);
    
    public Long getMaxId();
}
